package com.woniuxy.microretailserver.mapper;

import com.woniuxy.microretailserver.bean.SummaryCountBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
/**
 * 汇总终端收银账单
 */
@Mapper
@Repository
public interface SummaryCountMapper {
  /**
   * 分类查询支付表中的金额汇总
   * @param
   * @return
   */
  List<SummaryCountBean> findSummaryByTime();

  /**
   * 按时间查询支付表中的金额汇总
   * @param paymentTime
   * @return
   */
  List<SummaryCountBean> findSummaryByTimer(@Param("paymentTime") String paymentTime);
}
